package com.ruoyi.mateproduction.mapper;

import com.ruoyi.mateproduction.domain.MateCleanRecord;
import com.ruoyi.mateproduction.domain.MateCleanRecordModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface MateCleanRecordMapper {

    public int addMateCleanRecord(MateCleanRecord mateCleanRecord);

    public int addMateCleanRecordModel(MateCleanRecordModel mateCleanRecordModel);

    public void removeCleanRecord(Long cleanId);

    public void removeCleanRecordModel(Long cleanId);

    public List<MateCleanRecord> cleanRecordList(MateCleanRecord mateCleanRecord);

    public MateCleanRecord selectCleanRecord(Long cleanId);

    public MateCleanRecord selectCleanRecordLast(Map<String,Object> resMap);

    public int updateMateCleanRecord(MateCleanRecord mateCleanRecord);

    public List<MateCleanRecord> auditCleanRecord(Long deptId);

    public int addMateCleanRecordTemplate(MateCleanRecord mateCleanRecord);

    public int addMateCleanRecordModelTemplate(MateCleanRecordModel mateCleanRecordModel);

    public MateCleanRecord selectCleanRecordTemplate(Map<String,Object> resMap);

    public List<MateCleanRecordModel> selectCleanRecordModelTemplate(Map<String,Object> resMap);
}
